package com.autumn.swagger.configuration;

import java.lang.annotation.Annotation;
import java.util.UUID;

/**
 * API 文档的分组信息
 *
 * @author xinghua
 * @date 2018/12/21
 * @since 1.0.0
 */
class AutumnApiGroupInfo {
	private String beanId;
	private String groupName;	
	private String packages;
	private Class<? extends Annotation> annotation;

	public AutumnApiGroupInfo() {
		this.beanId = UUID.randomUUID().toString();	
	}

	public String getBeanId() {
		return beanId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getPackages() {
		return packages;
	}

	public void setPackages(String packages) {
		this.packages = packages;
	}

	public Class<? extends Annotation> getAnnotation() {
		return annotation;
	}

	public void setAnnotation(Class<? extends Annotation> annotation) {
		this.annotation = annotation;
	}
}